-- GENERATED SPELL FOR [Iron Rune Destroyer] --


function spell0_23676(pUnit, Event) --@Hammer Blow,Self--
pUnit:FullCastSpellOnTarget(48376,pUnit)
pUnit:RegisterEvent('Sorts_23676', 4332, 1)
end

function Sorts_23676(pUnit, Event)
local choix_sorts_23676 = math.random(0, 0)
if choix_sorts_23676 == 0 then
pUnit:RegisterEvent('spell0_23676', 1, 1)
end
end

function mob23676_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23676', math.random(1500, 3000), 1)
end

function mob23676_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23676_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23676_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23676, 1, 'mob23676_Action')
RegisterUnitEvent(23676, 2, 'mob23676_Leave')
RegisterUnitEvent(23676, 3, 'mob23676_Kill')
RegisterUnitEvent(23676, 4, 'mob23676_Die')
